package cn.itcast.bos.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.itcast.bos.domain.take_delivery.WayBill;

public interface WayBillService {

	/*void save(WayBill model);

	Page<WayBill> findPageData(WayBill wayBill, Pageable pageable);

	WayBill findByWayBillNum(String wayBillNum);
	
	void syncIndex();*/
	void save(WayBill model);

	Page<WayBill> findAll(Pageable pageable);

	WayBill findByWayBillNum(String wayBillNum);

	// 数据库同步索引库的方法
	public void syncIndex();

	Page<WayBill> findAll(WayBill wayBill, Pageable pageable);

	List<WayBill> findWayBills(WayBill model);

	List<Object[]> charWayBill();


}
